package com.yiwyn;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

import java.util.HashMap;
import java.util.Map;

public class MainTest {

    public static void main(String[] args) {


        String json = "{\n" +
                "  \"repayApplyId\": 1234455667787,\n" +
                "}";


        JSONObject jsonObject = JSON.parseObject(json);

        JSONObject data = new JSONObject();
        data.put("rspData", jsonObject.toJSONString());
        data.put("returnCode", "000000");

        Map map = new HashMap();
        map.put("reponseMsg", data.toJSONString());

        String jsonString = JSON.toJSONString(map);
        System.out.println(jsonString);


    }

}
